package com.kefu.web.im.netty.event.handler;

import com.kefu.web.im.netty.event.UserDataEvent;
import com.lmax.disruptor.EventHandler;

public class UserEventHandler implements EventHandler<UserDataEvent>{

	@Override
	public void onEvent(UserDataEvent arg0, long arg1, boolean arg2)
			throws Exception {
		//保存用户事件
//		UserEventRepository userEventRes = IMDataContext.getContext().getBean(UserEventRepository.class) ;
//		userEventRes.save((UserHistory)arg0.getEvent()) ;
	}

}
